package zouhaotian.rbac.domain.dto;

/**
 * 数据传输对象类型-用户
 *
 * @auther 邹昊天
 * @since 2025/6/20 16:28
 */
public class UserDto extends BaseDto {
    /**
     *  用户名
     */
    public String username;

    /**
     *  真实姓名
     */
    public String name;

    /**
     *  电话
     */
    public String mobile;

    /**
     *  邮箱
     */
    public String email;

    /**
     *  所属的部门ID
     */
    public Integer deptId;

    /**
     *  具有的角色ID
     */
    public Integer roleId;

    public UserDto() {
    }

    public UserDto(String username, String name, String mobile, String email, Integer deptId, Integer roleId) {
        this.username = username;
        this.name = name;
        this.mobile = mobile;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }
}
